<!DOCTYPE html>
<html>
<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>传智健康</title>
    <meta name="description" content="传智健康">
    <meta name="keywords" content="传智健康">
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <!-- 引入样式 -->
    <link rel="stylesheet" href="../plugins/elementui/index.css">
    <link rel="stylesheet" href="../plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <style>
        .grid-content {
            border-radius: 4px;
            min-height: 40px;
        }
    </style>
</head>
<body class="hold-transition">
<div id="app">
    <div class="content-header">
        <h1>统计分析<small>人员数据</small></h1>
        <el-breadcrumb separator-class="el-icon-arrow-right" class="breadcrumb">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>统计分析</el-breadcrumb-item>
            <el-breadcrumb-item>企业人员信息</el-breadcrumb-item>
        </el-breadcrumb>
    </div>
    <div class="app-container">
        <div class="box" style="height: 900px">
            <div class="excelTitle" >
                企业人员信息统计
            </div>
            <div class="excelTime">日期：{{reportData.reportDate}}</div>
            <table class="exceTable" cellspacing="0" cellpadding="0">
                <tr>
                    <td colspan="4" class="headBody">人员数据统计</td>
                </tr>
                <tr>
                    <td width='20%' class="tabletrBg">参与统计总人数</td>
                    <td width='30%'>{{reportData.totalNum}}</td>
                    <td width='20%' class="tabletrBg">男性员工数</td>
                    <td width='30%'>{{reportData.maleNum}}</td>
                </tr>
                <tr>
                    <td class="tabletrBg">女性员工数</td>
                    <td>{{reportData.femaleNum}}</td>
                    <td class="tabletrBg">本月复工人数</td>
                    <td>{{reportData.thisMonthNum}}</td>
                </tr>
                <tr>
                    <td class="tabletrBg">在宁人数</td>
                    <td>{{reportData.inNingNum}}</td>
                    <td class="tabletrBg">与湖北人员接触人数</td>
                    <td>{{reportData.touchHBNum}}</td>
                </tr>
                <tr>
                    <td class="tabletrBg">与浙江温州人员接触人数</td>
                    <td>{{reportData.touchZJNum}}</td>
                    <td class="tabletrBg">身体状况良好人数</td>
                    <td>{{reportData.goodNum}}</td>
                </tr>
            </table>
        </div>
    </div>
</div>
</body>
<!-- 引入组件库 -->
<script src="../js/vue.js"></script>
<script src="../plugins/elementui/index.js"></script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script src="../js/axios-0.18.0.js"></script>
<script>
    var vue = new Vue({
        el: '#app',
        data:{
            reportData:{
                reportDate:null,
                totalNum :0,
                maleNum :0,
                femaleNum :0,
                thisMonthNum :0,
                inNingNum :0,
                touchHBNum :0,
                touchZJNum :0,
                goodNum :0,
            }
        },
        created() {
            axios.get("/report/getPeopleReportData.do").then((res)=>{
                this.reportData = res.data.data;
            });
        },
        methods:{

        }
    })
</script>
</html>
